type net/http.http2serverConn
80 uses
net/http (current package)
h2_bundle.go#L3910: http2testHookGetServerConn func(*http2serverConn)
h2_bundle.go#L3912: http2testHookOnPanic func(sc *http2serverConn, panicVal interface{}) (rePanic bool)
h2_bundle.go#L4075: activeConns map[*http2serverConn]struct{}
h2_bundle.go#L4078: func (s *http2serverInternalState) registerConn(sc *http2serverConn) {
h2_bundle.go#L4087: func (s *http2serverInternalState) unregisterConn(sc *http2serverConn) {
h2_bundle.go#L4119: conf.state = &http2serverInternalState{activeConns: make(map[*http2serverConn]struct{})}
h2_bundle.go#L4269: func (s *http2Server) serveConn(c net.Conn, opts *http2ServeConnOpts, newf func(*http2serverConn)) {
h2_bundle.go#L4273: sc := &http2serverConn{
h2_bundle.go#L4414: func (sc *http2serverConn) rejectConn(err http2ErrCode, debug string) {
h2_bundle.go#L4422: type http2serverConn struct {
h2_bundle.go#L4483: func (sc *http2serverConn) maxHeaderListSize() uint32 {
h2_bundle.go#L4495: func (sc *http2serverConn) curOpenStreams() uint32 {
h2_bundle.go#L4509: sc *http2serverConn
h2_bundle.go#L4533: func (sc *http2serverConn) Framer() *http2Framer { return sc.framer }
h2_bundle.go#L4535: func (sc *http2serverConn) CloseConn() error { return sc.conn.Close() }
h2_bundle.go#L4537: func (sc *http2serverConn) Flush() error { return sc.bw.Flush() }
h2_bundle.go#L4539: func (sc *http2serverConn) HeaderEncoder() (*hpack.Encoder, *bytes.Buffer) {
h2_bundle.go#L4543: func (sc *http2serverConn) state(streamID uint32) (http2streamState, *http2stream) {
h2_bundle.go#L4570: func (sc *http2serverConn) setConnState(state ConnState) {
h2_bundle.go#L4576: func (sc *http2serverConn) vlogf(format string, args ...interface{}) {
h2_bundle.go#L4582: func (sc *http2serverConn) logf(format string, args ...interface{}) {
h2_bundle.go#L4630: func (sc *http2serverConn) condlogf(err error, format string, args ...interface{}) {
h2_bundle.go#L4649: func (sc *http2serverConn) canonicalHeader(v string) string {
h2_bundle.go#L4686: func (sc *http2serverConn) readFrames() {
h2_bundle.go#L4719: func (sc *http2serverConn) writeFrameAsync(wr http2FrameWriteRequest, wd *http2writeData) {
h2_bundle.go#L4730: func (sc *http2serverConn) closeAllStreamsOnConnClose() {
h2_bundle.go#L4737: func (sc *http2serverConn) stopShutdownTimer() {
h2_bundle.go#L4744: func (sc *http2serverConn) notePanic() {
h2_bundle.go#L4759: func (sc *http2serverConn) serve() {
h2_bundle.go#L4865: case func(*http2serverConn):
h2_bundle.go#L4902: func (sc *http2serverConn) onSettingsTimer() { sc.sendServeMsg(http2settingsTimerMsg) }
h2_bundle.go#L4904: func (sc *http2serverConn) onIdleTimer() { sc.sendServeMsg(http2idleTimerMsg) }
h2_bundle.go#L4906: func (sc *http2serverConn) onShutdownTimer() { sc.sendServeMsg(http2shutdownTimerMsg) }
h2_bundle.go#L4908: func (sc *http2serverConn) sendServeMsg(msg interface{}) {
h2_bundle.go#L4921: func (sc *http2serverConn) readPreface() error {
h2_bundle.go#L4962: func (sc *http2serverConn) writeDataFromHandler(stream *http2stream, data []byte, endStream bool) error {
h2_bundle.go#L5009: func (sc *http2serverConn) writeFrameFromHandler(wr http2FrameWriteRequest) error {
h2_bundle.go#L5029: func (sc *http2serverConn) writeFrame(wr http2FrameWriteRequest) {
h2_bundle.go#L5093: func (sc *http2serverConn) startFrameWrite(wr http2FrameWriteRequest) {
h2_bundle.go#L5150: func (sc *http2serverConn) wroteFrame(res http2frameWriteResult) {
h2_bundle.go#L5214: func (sc *http2serverConn) scheduleFrameWrite() {
h2_bundle.go#L5262: func (sc *http2serverConn) startGracefulShutdown() {
h2_bundle.go#L5285: func (sc *http2serverConn) startGracefulShutdownInternal() {
h2_bundle.go#L5289: func (sc *http2serverConn) goAway(code http2ErrCode) {
h2_bundle.go#L5303: func (sc *http2serverConn) shutDownIn(d time.Duration) {
h2_bundle.go#L5308: func (sc *http2serverConn) resetStream(se http2StreamError) {
h2_bundle.go#L5319: func (sc *http2serverConn) processFrameFromReader(res http2readFrameResult) bool {
h2_bundle.go#L5376: func (sc *http2serverConn) processFrame(f http2Frame) error {
h2_bundle.go#L5429: func (sc *http2serverConn) processPing(f *http2PingFrame) error {
h2_bundle.go#L5448: func (sc *http2serverConn) processWindowUpdate(f *http2WindowUpdateFrame) error {
h2_bundle.go#L5480: func (sc *http2serverConn) processResetStream(f *http2RSTStreamFrame) error {
h2_bundle.go#L5499: func (sc *http2serverConn) closeStream(st *http2stream, err error) {
h2_bundle.go#L5546: func (sc *http2serverConn) processSettings(f *http2SettingsFrame) error {
h2_bundle.go#L5574: func (sc *http2serverConn) processSetting(s http2Setting) error {
h2_bundle.go#L5606: func (sc *http2serverConn) processSettingInitialWindowSize(val uint32) error {
h2_bundle.go#L5634: func (sc *http2serverConn) processData(f *http2DataFrame) error {
h2_bundle.go#L5731: func (sc *http2serverConn) processGoAway(f *http2GoAwayFrame) error {
h2_bundle.go#L5797: func (sc *http2serverConn) processHeaders(f *http2MetaHeadersFrame) error {
h2_bundle.go#L5908: func (sc *http2serverConn) upgradeRequest(req *Request) {
h2_bundle.go#L5962: func (sc *http2serverConn) checkPriority(streamID uint32, p http2PriorityParam) error {
h2_bundle.go#L5973: func (sc *http2serverConn) processPriority(f *http2PriorityFrame) error {
h2_bundle.go#L5981: func (sc *http2serverConn) newStream(id, pusherID uint32, state http2streamState) *http2stream {
h2_bundle.go#L6017: func (sc *http2serverConn) newWriterAndRequest(st *http2stream, f *http2MetaHeadersFrame) (*http2responseWriter, *Request, error) {
h2_bundle.go#L6082: func (sc *http2serverConn) newWriterAndRequestNoBody(st *http2stream, rp http2requestParam) (*http2responseWriter, *Request, error) {
h2_bundle.go#L6157: func (sc *http2serverConn) newResponseWriter(st *http2stream, req *Request) *http2responseWriter {
h2_bundle.go#L6178: func (sc *http2serverConn) scheduleHandler(streamID uint32, rw *http2responseWriter, req *Request, handler func(ResponseWriter, *Request)) error {
h2_bundle.go#L6198: func (sc *http2serverConn) handlerDone() {
h2_bundle.go#L6223: func (sc *http2serverConn) runHandler(rw *http2responseWriter, req *Request, handler func(ResponseWriter, *Request)) {
h2_bundle.go#L6265: func (sc *http2serverConn) writeHeaders(st *http2stream, headerData *http2writeResHeaders) error {
h2_bundle.go#L6297: func (sc *http2serverConn) write100ContinueHeaders(st *http2stream) {
h2_bundle.go#L6314: func (sc *http2serverConn) noteBodyReadFromHandler(st *http2stream, n int, err error) {
h2_bundle.go#L6324: func (sc *http2serverConn) noteBodyRead(st *http2stream, n int) {
h2_bundle.go#L6335: func (sc *http2serverConn) sendWindowUpdate32(st *http2stream, n int32) {
h2_bundle.go#L6340: func (sc *http2serverConn) sendWindowUpdate(st *http2stream, n int) {
h2_bundle.go#L6364: conn *http2serverConn
h2_bundle.go#L6420: conn *http2serverConn
h2_bundle.go#L6649: w.rws.conn.sendServeMsg(func(sc *http2serverConn) {
h2_bundle.go#L6675: w.rws.conn.sendServeMsg(func(sc *http2serverConn) {
h2_bundle.go#L6991: func (sc *http2serverConn) startPush(msg *http2startPushRequest) {
h2_bundle.go#L7135: func (sc *http2serverConn) countError(name string, err error) error {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |